//
//  NewCollectionViewCell.m
//  19-JSON
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "NewCollectionViewCell.h"
#import "ContentTitle.h"
@implementation NewCollectionViewCell


- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height)];
        [self.contentView addSubview: _label];
    }
    return self;
}
- (void)setContentTitle:(ContentTitle *)contentTitle {
    _contentTitle = contentTitle;
    _label.text = _contentTitle.title;
    
}

@end
